<template>
    <div class="busiInfoQuery" v-loading="loading">
        <plainTable :tableData="tableData" :tableConfigData="tableConfigData" @verify="handleClickVerify" :pageInfo="pageInfo" @prevPage="handlePrevPage" @nextPage="handleNextPage" />
    </div>
</template>

<script setup>
import plainTable from '@/components/plainTable.vue'
import { useBusiWithdrawApproval } from '@/hooks/index'

const { modifyWithdrawalAudit,loading,tableData, tableConfigData, pageInfo, prevPage, nextPage } = useBusiWithdrawApproval()

const handlePrevPage = () => {
    prevPage();
}

const handleNextPage = () => {
    nextPage();
}

const handleClickVerify = (info,action) => {
    modifyWithdrawalAudit({
        id: info.id,
        statusValue: action
    });
}
</script>
<style scoped lang="scss">
.busiInfoQuery {

}
</style>